using MediatR;
using Medical.ErrorCode;
using Medical.ReadApi.Dto;

namespace Medical.ReadApi.Appcontext.Command
{
	/// <summary>
	/// 获取用户列表查询
	/// </summary>
	public class GetUsersListQuery : IRequest<ApiPaging<UserDto>>
	{
		public string? UserNameKeyword { get; set; }
		public string? FullNameKeyword { get; set; }
		public string? Email { get; set; }
		public bool? IsActive { get; set; }
		public int Page { get; set; } = 1;
		public int Size { get; set; } = 10;
	}
}

